<%@ taglib prefix="logic" uri="/WEB-INF/struts-logic.tld" %>
<logic:notPresent name="userInformation">
    <logic:redirect action="/index" />
</logic:notPresent>
<logic:present name="userInformation">
    present
</logic:present>